package com.my.strings.commons;

import java.util.Arrays;

/**
 * @description:
 * @author: marshal
 * @date: 2021-07-19 4:40 PM
 */
public class SplitTest {
    public static void main(String[] args) {
//        String text = "K0+660,104.13515769,28.34177364;";
//        String[] split = text.split(",");
//        System.out.println(Arrays.toString(split));

        String stake = "k44+0";
        String[] split2 = stake.split("\\+");
        System.out.println(Arrays.toString(split2));

        String s = "2";
        System.out.println(Arrays.toString(s.split(",")));
    }
}
